<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
    <script type="text/javascript" src="../js/jquery-3.6.0.min.js"></script>
    <title>TMyPetStore</title>
</head>
<body>
<div th:replace="common/IncludeTop::header"></div>
<div id="Content">
    <div th:fragment="MyList">
        <p>Pet Favorites <br />
            Shop for more of your favorite pets here.</p>
        <ul th:each="product:${myList}">
            <li>
                <a th:href="@{'/catalog/viewProduct?productId='+${product.productId}}">${product.name}</a>
                (${product.productId})
            </li>
        </ul>
    </div>

</div>
<div th:replace="common/IncludeBottom::footer"></div>
</body>